package com.tjbklx1.thread.chap02.practise05.ext2;

public class Point {
	public int x;
	public int y;

	public Point(int x, int y) {
		this.x = x;
		this.y = y;
	}

	public int getX() {
		return x;
	}

	public int getY() {
		return y;
	}

	@Override
	public String toString() {
		return "(x=" + x + ",y=" + y + ")";
	}
}
